package com.SmartCampus.system.service;

import com.SmartCampus.system.model.dto.announcement.AnnouncementQueryRequest;
import com.SmartCampus.system.model.entity.Announcement;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author wangliang
* @description 针对表【announcement(通知公告表)】的数据库操作Service
* @createDate 2024-12-26 18:54:38
*/
public interface AnnouncementService extends IService<Announcement> {

    Page<Announcement> getAnnouncementByAll(Page<Announcement> page, AnnouncementQueryRequest announcementQueryRequest);

    Page<Announcement> getAnnouncementByMy(Page<Announcement> page, AnnouncementQueryRequest announcementQueryRequest, String username);
}
